import { ui } from "../ui/layaMaxUI";

export default class gongxi extends Laya.Script {
    constructor() {
        super();
    }

    onEnable() {
        this.owner.getChildByName("shuangbei").on(Laya.Event.CLICK, this, () => {
            Laya.Scene.close("gongxi.scene");
            Laya.Scene.open("tishi.scene")
        })
    }
}